/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.sale;

import ca.trader.regions.Location;
import java.math.BigDecimal;
import java.util.ArrayList;

/**
 *
 * @author Ahsan
 */
public class SaleLookupQuery
{

	 private String keywords;
	 private Location location;
	 private ArrayList<SaleCategoryEnum> categories;
	 private BigDecimal price;
	 private PriceCriteria priceCriteria;

	 public PriceCriteria getPriceCriteria()
	 {
		  return priceCriteria;
	 }

	 public void setPriceCriteria(PriceCriteria priceCriteria)
	 {
		  this.priceCriteria = priceCriteria;
	 }

	 public BigDecimal getPrice()
	 {
		  return price;
	 }

	 public void setPrice(BigDecimal price)
	 {
		  this.price = price;
	 }

	 public String getKeywords()
	 {
		  return keywords;
	 }

	 public void setKeywords(String keywords)
	 {
		  this.keywords = keywords;
	 }

	 public Location getLocation()
	 {
		  return location;
	 }

	 public void setLocation(Location location)
	 {
		  this.location = location;
	 }

	 public ArrayList<SaleCategoryEnum> getCategories()
	 {
		  return categories;
	 }

	 public void setCategories(ArrayList<SaleCategoryEnum> categories)
	 {
		  this.categories = categories;
	 }

	 public static enum PriceCriteria
	 {

		  GREATER_THAN,
		  EQUAL_TO,
		  LESS_THAN
	 }

}
